package com.inossem.warehousestorage_inossem.bean.query;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/6/20.
 */

public class QueryMaterielBean extends Bean {

    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"materielList":[{"id":"唯一标识","materielCode":"物料编码","materielDescription":"物料描述","positionNumber":"仓位号","batchNumber":"批次号","specialInventoryFlag":"特殊库存标识","inventoryNumber":"库存数量","unit":"单位"},{"id":"唯一标识","materielCode":"物料编码","materielDescription":"物料描述","positionNumber":"仓位号","batchNumber":"批次号","specialInventoryFlag":"特殊库存标识","inventoryNumber":"库存数量","unit":"单位"},{"id":"唯一标识","materielCode":"物料编码","materielDescription":"物料描述","positionNumber":"仓位号","batchNumber":"批次号","specialInventoryFlag":"特殊库存标识","inventoryNumber":"库存数量","unit":"单位"}]}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<MaterielListBean> materielList;

        public List<MaterielListBean> getMaterielList() {
            return materielList;
        }

        public void setMaterielList(List<MaterielListBean> materielList) {
            this.materielList = materielList;
        }

        public static class MaterielListBean {
            /**
             * id : 唯一标识
             * materielCode : 物料编码
             * materielDescription : 物料描述
             * positionNumber : 仓位号
             * batchNumber : 批次号
             * specialInventoryFlag : 特殊库存标识
             * inventoryNumber : 库存数量
             * unit : 单位
             */

            private String id;
            private String materielCode;
            private String materielDescription;
            private String positionNumber;
            private String batchNumber;
            private String specialInventoryFlag;
            private String inventoryNumber;
            private String unit;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMaterielCode() {
                return materielCode;
            }

            public void setMaterielCode(String materielCode) {
                this.materielCode = materielCode;
            }

            public String getMaterielDescription() {
                return materielDescription;
            }

            public void setMaterielDescription(String materielDescription) {
                this.materielDescription = materielDescription;
            }

            public String getPositionNumber() {
                return positionNumber;
            }

            public void setPositionNumber(String positionNumber) {
                this.positionNumber = positionNumber;
            }

            public String getBatchNumber() {
                return batchNumber;
            }

            public void setBatchNumber(String batchNumber) {
                this.batchNumber = batchNumber;
            }

            public String getSpecialInventoryFlag() {
                return specialInventoryFlag;
            }

            public void setSpecialInventoryFlag(String specialInventoryFlag) {
                this.specialInventoryFlag = specialInventoryFlag;
            }

            public String getInventoryNumber() {
                return inventoryNumber;
            }

            public void setInventoryNumber(String inventoryNumber) {
                this.inventoryNumber = inventoryNumber;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }
        }
    }
}
